/*
 * @Descripttion: 
 * @version: 
 * @Author: LLP
 * @Date: 2019-12-11 21:26:36
 * @LastEditors: LLP
 * @LastEditTime: 2019-12-22 16:31:24
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '../theme/index.css'
import '@/assets/css/base.css'
import request from '@/assets/js/request.js'
import {
  Select, Option, FormItem, Form, Message, Upload, Image, Tabs, TabPane, Row, Col, Button,
  ButtonGroup, Table, TableColumn, Dialog, Dropdown, DropdownMenu, DropdownItem, Checkbox, Menu,
  Submenu, MenuItem, MenuItemGroup, Badge, Input, InputNumber, Avatar, Divider, Steps, Step, OptionGroup
} from 'element-ui';
import 'swiper/dist/css/swiper.css';
import  * as filters from './filter/filter'
import './permission'


Vue.prototype.request = request;
Vue.config.productionTip = false;

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

Vue.use(Menu)
Vue.use(Form)
Vue.use(Steps)
Vue.use(Step)
Vue.use(Divider)
Vue.use(Avatar)
Vue.use(Input)
Vue.use(InputNumber)
Vue.use(OptionGroup)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Select)
Vue.use(Dialog)
Vue.use(Image)
Vue.use(Option)
Vue.use(FormItem)
Vue.use(Upload)
Vue.use(Row)
Vue.use(Badge)
Vue.use(Col)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Button)
Vue.use(Checkbox)
Vue.use(ButtonGroup)
Vue.use(Table)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(TableColumn)
Vue.prototype.$message = Message;
new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
